﻿
namespace Independ.Tests.Fakes
{
    class InjectionConstructorClassMock
    {
        [InjectionConstructor]
        public InjectionConstructorClassMock(int x)
            : this(x, 0)
        {

        }

        public InjectionConstructorClassMock(int x, double y)
        {
            X = x;
            Y = y;
        }

        public int X { get; set; }

        public double Y { get; set; }
    }

    class DoubleInjectionConstructorClassMock
    {
        [InjectionConstructor]
        public DoubleInjectionConstructorClassMock(int x)
            : this(x, 0)
        {

        }

        [InjectionConstructor]
        public DoubleInjectionConstructorClassMock(int x, double y)
        {
            X = x;
            Y = y;
        }

        public int X { get; set; }

        public double Y { get; set; }
    }

    class DoubleConstructorClassMock
    {
        public DoubleConstructorClassMock(int x, int y)
        {

        }

        public DoubleConstructorClassMock(double x, double y)
        {
        }
    }
}
